package com.hsy.swu

import android.app.Application
import cn.leancloud.LeanCloud
import com.kongzue.dialogx.DialogX
import com.kongzue.dialogx.style.MIUIStyle

class MyApp : Application() {
    override fun onCreate() {
        super.onCreate()

        DialogX.init(applicationContext)
        DialogX.globalStyle = MIUIStyle()
        DialogX.onlyOnePopTip = true

        LeanCloud.initialize(
            this,
            "CnMfn2t9A4Q3v5NLoipZqRqr-gzGzoHsz",
            "YqLJkUaFOi9pwO6F3SqMsp8Z",
            "https://cnmfn2t9.lc-cn-n1-shared.com"
        )
    }
}